/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tpgen.manchester;


import tpgen.manchester.w3org.Construct;
import tpgen.manchester.w3org.ManchesterPropability;
import tpgen.manchester.w3org.W3OrgManchesterGrammar;

/**
 *
 * @author shanki
 */
public class ManchesterFactory {
            
    public W3OrgManchesterGrammar createGrammar(Iterable<Construct> forbiddenConstructs) {
        ManchesterPropability prob  = new ManchesterPropability();
        prob.zero(forbiddenConstructs);
        
        return new W3OrgManchesterGrammar(prob);
    }

}